Skip to main content

Send Message

This section describes how to send messages via the Sinch India Conversation API. The message endpoint is the primary endpoint of the API, and this is where all messages are sent.

Request Type: POST

API URL: https://convapi.aclwhatsapp.com/v1/projects/<projectId>/messages:send

Request Parameters

S.No.AttributeRequiredData TypeDetails
1app_idYesStringThe ID of the app sending the message
2recipientYesObjectContains the channel and end user identity details
2.1identified_byYesObjectContains the channel and end user identity details
2.1.1channel_identitiesYesArray of objectsContains all the channels, including fallback ones, and their corresponding MSISDNs
2.1.1.1identityYesStringStarting with country code followed by mobile number. e.g. 919876543210
2.1.1.2channelYesStringChannel identifier. Enum: WHATSAPP, RCS, SMS
3messageYesObjectMessage object — see message types below
4callback_urlNoStringOverwrites the default callback URL for delivery receipts for this message
5channel_priority_orderNoArray of stringsExplicitly defines channels and order in which they are tried. Items Enum: WHATSAPP, RCS, SMS
6message_metadataNoStringMetadata associated with the message. Returned in DLR. Up to 1024 characters

Message Object Types

The message field accepts one of the following object types:

  • Card Message
  • Carousel Message
  • Choice Message
  • Location Message
  • Media Message
  • Template Message
  • Text Message
  • List Message